Getting Started with Varnish Cache by Thijs Feryn
Author:Thijs Feryn
Language: eng
Format: epub
Publisher: O'Reilly Media
Published: 2017-03-16T04:00:00+00:00
You can use this refresh strategy, for example, if you’re an editor of a website. You use an ACL to identify yourself and your requests will never return a cached version of the resource. Every time you update that resource, you immediatly see the updated version. The added value to the end user is that they also see the up-to-date version of that resource, but the result gets cached.
Here’s an example that illustrates the use of req.hash_always_miss:
acl editors { "localhost"; "192.168.55.0"/24; } sub vcl_recv { if (req.http.cache-control ~ "no-cache" && client.ip ~ editors) { set req.hash_always_miss = true; } }
The cherry on the cake here is that this example only forces a miss when the client does a force refresh in the browser.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Hello! Python by Anthony Briggs(9929)
The Mikado Method by Ola Ellnestam Daniel Brolund(9796)
Dependency Injection in .NET by Mark Seemann(9351)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7796)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7572)
Svelte with Test-Driven Development by Daniel Irvine(7321)
Test-Driven Development with PHP 8 by Rainier Sarabia(7058)
Layered Design for Ruby on Rails Applications by Dementyev Vladimir;(6914)
Secrets of the JavaScript Ninja by John Resig & Bear Bibeault(6543)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6430)
Web Development with Django by Ben Shaw Saurabh Badhwar(6378)
React Application Architecture for Production by Alan Alickovic(6099)
Jquery UI in Action : Master the concepts Of Jquery UI: A Step By Step Approach by ANMOL GOYAL(5818)
Kotlin in Action by Dmitry Jemerov(5077)
Audition by Ryu Murakami(4597)
Software Architecture for Web Developers by Mihaela Roxana Ghidersa(4537)
Accelerating Server-Side Development with Fastify by Manuel Spigolon Maksim Sinik & Matteo Collina(4389)
Hands-On Full-Stack Web Development with GraphQL and React by Sebastian Grebe(4326)
Solidity Programming Essentials by Ritesh Modi(4092)
